package com.wochao.web.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wochao.model.entity.ApartmentInfo;
import com.wochao.web.app.vo.apartment.ApartmentDetailVo;
import com.wochao.web.app.vo.apartment.ApartmentItemVo;

public interface ApartmentInfoService extends IService<ApartmentInfo> {

    /**
     * 根据公寓ID查询公寓信息
     *
     * @param apartmentId
     * @return
     */
    ApartmentItemVo selectApartmentItemVoById(Long apartmentId);

    /**
     * 根据公寓Id获取公寓详细信息
     *
     * @param id
     * @return
     */
    ApartmentDetailVo selectApartmentDetailVoById(Long id);
}
